package com.jicheng.service;

import com.jicheng.dto.file.FileDataParams;
import com.jicheng.dto.task.*;
import com.jicheng.ext.dto.PagingResult;
import com.jicheng.ext.util.ParamsValidator;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 *  @author: bright
 *  @Date: 2020/5/7 10:39
 *  @Description: 任务服务
 */
public interface ITaskService extends ParamsValidator {

    PagingResult<TaskDto> getTaskList(PagingTaskParams params);

    void syncFormJob(FormTaskParams params);

    void syncJobData(TaskDataParams params);

    void syncFile(FileDataParams params);

    List getBusTemplateList(PagingTemplateParams params);

    TaskDetailDto getTaskDetail(String taskId,HttpServletRequest request);

    TemplateFileDto getTemplateDetail(String id, HttpServletRequest request);

    List<String> getTaskType();

    List<String> getTemplateType();
}
